from core import *

from ..modules import *


class Industry(Category):
    id   =_ ('industry')
    name =_ ('Industry')
    icon =_ ('Hammer')
    
    class RawMaterials(Category):
        id        =_ ('raw-materials')
        name      =_ ('Raw Materials & Processing')
        icon      =_ ('Hammer')
        buildings =_ (ClayPit, Sawmill, Quarry, Kiln, CarpentersShop)
    
    class Metal(Category):
        id        =_ ('metal')
        name      =_ ('Metal, Glass & Jewelry')
        icon      =_ ('Coin')
        buildings =_ (CharcoalKiln, Glazier, Smelter, Forge, Mint, PearlExtractor, Jeweller)
    
    class Textiles(Category):
        id        =_ ('textiles')
        name      =_ ('Textiles')
        icon      =_ ('Person')
        buildings =_ (DyeMaker, Weavery, CarpetMaker, Tailor)
    
    class Food(Category):
        id        =_ ('food')
        name      =_ ('Food Processing')
        icon      =_ ('Person')
        buildings =_ (Mill, Bakery, SugarBakery)
    
    class Beverages(Category):
        id        =_ ('beverages')
        name      =_ ('Beverages')
        icon      =_ ('Person')
        buildings =_ (FruitPress, Winery, Brewery, HotBrewery)
    
    subcategories =_ (RawMaterials, Metal, Textiles, Food, Beverages)
